<style>
fieldset.equipmentCycleTime dt{
    width:110px;
}
</style>
<div class="pageContent">
    <form method="post"
        action="${rc.getContextPath()}/manage/equipmentCycleTime/saveEquipmentCycleTime"
        class="pageForm required-validate"
        onsubmit="return validateCallback(this, dialogAjaxDone);">
        <div class="pageFormContent"  layoutH="115"   >
            <input type="hidden" name="navTabId" value="${navTabId!''}">
            <input type="hidden" name="id"
                value="<#if (equipmentCycleTime.equipmentCode)??>${equipmentCycleTime.equipmentCode!''}</#if>">
            <fieldset class="equipmentCycleTime">
                <dl class="nowrap">
                    <dt><@label key="equipmentCode.C,colon">设备编号：</@label></dt>
                    <dd>
                      <input class="required" id="equipmentLookup.equipmentCode" name="equipmentCode" type="text" 
                    value="${equipmentCycleTime.equipmentCode!''}"   readonly="readonly"
                    </dd>
                </dl>
                <dl class="nowrap">
                    <dt><@label key='equipmentText.C,colon'>设备描述：</@label></dt>
                    <dd><input id="equipmentLookup.equipmentText" readonly="readonly" size="22" type="text" maxlength="60" name="equipmentText" value="${equipmentCycleTime.equipmentText!''}" />
                    </dd>
                <dl>
                <dl class="nowrap">
                    <dt><@label key="cycleTime.C,colon">理论周期时间（秒）：</@label></dt>
                    <dd>
                        <input name="cycleTime"
                            value="${equipmentCycleTime.cycleTime!''}"
                            size="22" type="text" maxlength="20" class='required oneDecimal' min="0"
                            <#if "read"==pattern>
                              readonly="readonly"
                            </#if>
                          />
                    </dd>
                <dl>
                </dl>
                    <dl class="nowrap">
                    <dt>&nbsp;</dt>
                    <dd>
                        <label><input type="checkbox" name="lockFlag" value="1"
                            <#if "read"==pattern>
                            disabled="disabled"
                            </#if>
                            <#if
                            (equipmentCycleTime.lockFlag)?? && (equipmentCycleTime.lockFlag == 1)>
                            checked="true"</#if>><@label key="lock.C">锁定</@label></label>
                    </dd>
                </dl>
                
            </fieldset>
        </div>
        <#if equipmentCycleTime??>
            <#assign createInfo=equipmentCycleTime>
            <#include "/common/createInfo.html">
        </#if>
        <div class="formBar">
            <ul>
                <#if pattern!="read">
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit"><@label key="save.B">保存</@label></button>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="buttonActiveGrey">
                            <div class="buttonContent">
                                    <button type="button" class="close"><@label key="cancel.B">取消</@label></button>
                            </div>
                        </div>
                    </li>
                <#else>
                    <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                                <button type="button" class="close"><@label key="close.B">关闭</@label></button>
                        </div>
                    </div>
                </li>
                </#if>
            </ul>
        </div>
    </form>
</div>

